<template>
  <div>
    <!-- <router-link to="/about/:123">
      tiaotiao
    </router-link>-->
    <hr />
    <button @click="onClick">点击</button>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  methods: {
    onClick() {
      this.$router.push({ name: "About", query: { test: 11 } });
    }
  }
};
</script>

<style scoped>
</style>